import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui' //引用组件
import 'element-ui/lib/theme-chalk/index.css'; //引用样式

import axios from 'axios'

Vue.prototype.$http = axios;

axios.defaults.baseURL="http://127.0.0.1:3333";
Vue.prototype.imgUrl="http://127.0.0.1:3333/";


Vue.config.productionTip = false
Vue.use(ElementUI);

/* eslint-disable no-new */
new Vue({
	el: '#app',
	router,
	components: {
		App
	},
	template: '<App/>'
})
